package main;

import service.StudentService;

import java.util.Scanner;

public class StudentMain {
    public static void main(String[] args) {
        StudentService.readScores("exit1", 5, true, false);
        StudentService.readScores("exit2", 5, false, true);
        StudentService.readExamScores();
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入要查询的学生学号：");
        String id = scanner.nextLine();
        StudentService.queryStudent(id);
        scanner.close();
    }
}